import requests from './request.js'
const send = (opt) => {
	requests.ajax({
		url: opt.url,
		tishi: 1,
		data: {
			phone: opt.phone,
			type:opt.type
		},
		method: 'POST',
		success: function(res) {
			uni.showToast({
				title: res.msg,
				icon: "none"
			});
			opt.success(res);
		}
	})
}

export default {
	send //公共接口示例
}
